package com.galgram.project.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.time.*;

import lombok.*;
import com.galgram.common.annotation.Excel;
import com.galgram.common.core.domain.BaseEntity;

/**
 * 消息对象 fx_message
 *
 * @author galgram
 * @date 2024-11-20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("fx_message")
public class FxMessage extends BaseEntity {

    /**
     * 消息id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 消息类型
     */
    @Excel(name = "消息类型")
    private String type;

    /**
     * 消息内容
     */
    @Excel(name = "消息内容")
    private String content;

    /**
     * 消息发送时间
     */
    @Excel(name = "消息发送时间")
    private LocalDateTime date;


}
